﻿<%@ Page Title="View Car Driver Age" Language="C#" MasterPageFile="~/Provider/CarInsurance/Liberty_CarInsurance.master"
    AutoEventWireup="true" CodeFile="ViewProviderCarDriverDOB.aspx.cs" Inherits="Provider_CarInsurance_ViewProviderCarDriverDOB" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="provider_inner">
        <h1>
            Car Driver Age</h1>
        <div class="right_action">
            <asp:HyperLink runat="server" ID="lnkNewClaimInfo" NavigateUrl="~/Provider/CarInsurance/ProviderCarDriverDOB.aspx"
                Text="New"></asp:HyperLink>
        </div>
        <asp:GridView ID="grvCarDriverDOB" runat="server" AllowPaging="True" AllowSorting="True"
            PageSize="30" AutoGenerateColumns="false" CellPadding="2" DataKeyNames="ProviderCarDriverDOBId"
            EmptyDataText="There are no data records to display." CssClass="progridstyle"
            GridLines="None" OnSelectedIndexChanged="grvCarDriverDOB_SelectedIndexChanged">
            <Columns>
                <asp:BoundField DataField="ProviderCarDriverDOBId" HeaderText="CarDriverDOBId" InsertVisible="False"
                    ReadOnly="True" SortExpression="ProviderCarDriverDOBId" Visible="False" />
                <asp:BoundField DataField="FromDOB" HeaderText="From DOB" SortExpression="FromDOB" />
                <asp:BoundField DataField="ToDOB" HeaderText="To DOB" SortExpression="ToDOB" />
                <asp:BoundField DataField="DOBRates" DataFormatString="{0:F}" HeaderText="DOB Rate"
                    SortExpression="DOBRates" />
                <asp:CheckBoxField DataField="Status" HeaderText="Status" SortExpression="Status" />
                <asp:CommandField ShowSelectButton="True" SelectText="Edit" />
            </Columns>
            <FooterStyle />
            <PagerStyle />
            <SelectedRowStyle CssClass="progridover" />
            <HeaderStyle CssClass="progridheader" />
            <EditRowStyle />
            <AlternatingRowStyle CssClass="progridodd" />
            <RowStyle CssClass="progrideven" />
        </asp:GridView>
        <asp:ImageButton OnClientClick="javascript:return confirm('Are you sure to go back?');"
            ID="ibtBack" runat="server" ImageUrl="~/Provider/images/buttons/back1.gif" OnClick="ibtBack_Click" />
    </div>
</asp:Content>
